<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
<title>404财富管家</title>
<meta name="keywords" content="财富管家" />
<meta name="description" content="财富管家" />
<link rel="shortcut icon" th:href="@{/images/littlelogo.png}">
<link rel="icon" th:href="@{/favicon.ico}" mce_href="/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" th:href="@{/css/style.css}"/>
<link rel="stylesheet" th:href="@{/css/user.css}"/>

<link th:href="@{/css/iconfont/RjdaoIcon.css}" rel="stylesheet" type="text/css">
<script type="text/javascript" th:src="@{/js/jquery-3.2.1.min.js}"></script>
<script th:src="@{/js/highcharts.js}"></script>
<script type="text/javascript" th:src="@{/js/address.js}"></script>

<style type="text/css">
	#transaction_table th{
		font-size: 20px;
		height: 30px;
		width: 150px;
		
	}
	
	#transaction #search select{
		font-size: 20px;
		
	}
	
	#transaction #search input {
		font-size: 18px;
		
	}
	
	.info span{
		font-size: 20px;
	}
	
	.info input{
		width: 200px;
		height: 30px;
	}
	.u-label {
		font-size: 20px;
	}
	.main-box{
		
		margin-left: 350px;
	}
	.btn-btn-info{
		width: 60px;
		height: 40px;
		background-color: #31B0D5;
		border-radius: 5px;
		color: white;
	}
</style>
</head>

<body>

<!----header s---->
<div class="topnav">
	<div class="mainw w">
		<div class="l-txt">欢迎致电：400-1234-123 &nbsp;&nbsp; 服务时间：08:30-17:30（工作日）</div>

		<a th:href="@{/information/xinxi2}" class="dh">帮助中心</a>
		<a th:href="@{/information/xinxi3}" class="dh">新手指引</a>

	</div>
</div>
<header>
	<div class="hmain w">
		<a th:href="@{/index}" class="logo"><img th:src="@{/images/logo.png}"></a>
		<a th:href="@{/login}" class="ubut">退出</a>
		<a th:href="@{/userCenter/index}" class="ubut" style="padding:0 15px;background-color: #C9302C;color: white;">个人中心<span><dl th:text="${'我的资产:'+user.balance}">我的资产：2830.00</dl></span></a>
		<nav>
			<a th:href="@{/index}" >首页</a>
			<a th:href="@{/invest/list}">我要投资</a>
			<a th:href="@{/borrowCenter/index}">我要借贷</a>
			<a th:href="@{/zhongchou/list}">众筹中心</a>
			<a th:href="@{/information/xinxi1}">信息披露</a>
		</nav>
	</div>
</header>
<!----header e---->



<!---user top s---->
<div class="user-top">

	<div class="userinfo">

		<a href="" class="portrait" style="margin-top:10px;"><em>编辑头像</em><img th:src="@{/images/user-portrait.jpg}"></a>
		<div class="minfo" style="margin-top:30px;">
			<div class="it"><dl>ID：</dl><span class="mr1" th:text="${user.id + 10000}">633748</span> <dl>用户名：</dl><span th:text="${user.tell}">xiezhengyi</span></div>
			<div class="it">
				<dl>绑定手机号：</dl><span th:text="${user.tell}">187****6613</span>
				<a class="ml1" title="手机" th:href="@{/userCenter/safe}"><i class="icon-0566"></i></a>
				<a th:href="@{/userCenter/account}" class="ml1" title="设置"><i class="icon-0421"></i></a>
			</div>
		</div>

		<div class="capital">
			<dl>我的总资产</dl><em th:text="${user.balance}">200263.00</em>
		</div>
		<div class="capital2">
			<a href="javascript:void(0);" onclick="recharge()" class="ti">充值</a>
			<a href="javascript:void(1);" onclick="forward()" class="ti">提现</a>
		</div>

	</div>
    
    <div class="nav">
		<a th:href="@{/userCenter/index}" class="l"><i class="icon-0101" ></i><span >我的项目</span></a>
		<a th:href="@{/userCenter/loan}" class="l"><i class="icon-0101" ></i><span >我的借贷</span></a>
		<a th:href="@{/userCenter/Crowd}" class="l"><i class="icon-0941"></i><span>我的众筹</span></a>
		<a th:href="@{/userCenter/transaction}" class="l"><i class="icon-0423"></i><span>交易记录</span></a>
		<a th:href="@{/userCenter/account}" class="l"><i class="icon-0841"style="color: orange;"></i><span style="color: orange;">账户设置</span></a>
		<a th:href="@{/userCenter/safe}" class="l"><i class="icon-0282"></i><span>安全设置</span></a>
		<a th:href="@{/login}" class="r"><i class="icon-0735"></i><span>退出</span></a>
    </div>
    
</div>

<!---user top e---->
<div class="u-main">
	<div>
	<a style="font-size: 20px;margin-left: 20px;" th:href="@{/userCenter/account}">个人基本信息</a>
	<a style="font-size: 20px;margin-left: 20px;color: orange;border-bottom: groove;" th:href="@{/userCenter/company}">企业信息</a>
	</div>

	
	<div class="main-box">
		<form th:action="@{/userCenter/savecompany}"  method="post">
			<div style="margin-top: 20px;">
				<input type="hidden" name="userId" th:value="${user.id}">
				<div class="info" style="margin-left: 40px;margin-top: 20px;">
					<span style="color: red;">*</span>
					<span>企业名称：</span>
					<input disabled="disabled" class="info2" name="enterprisename" th:value="${enterpriseInformation.enterprisename}" type="text" >
				</div>
				<div class="info" style="margin-left: 40px;margin-top: 20px;">
					<span style="color: red;">*</span>
					<span>注册资金：</span>
					<input  disabled="disabled" class="info2"  name="registeredcapital" th:value="${enterpriseInformation.registeredcapital}" type="text"  />
				</div>
				<div class="info" style="margin-top: 20px;">
					<span style="color: red;">*</span>
					<span>企业成立时间：</span>
					<input disabled="disabled" class="info2"  name="createtime" th:value="${enterpriseInformation.createtime}" type="date" />
				</div>
				<div class="info" style="margin-left: 20px;margin-top: 20px;">
					<span style="color: red;">*</span>
		                <span class="u-label">企业所在地：</span>
						<input disabled="disabled" class="info2"  name="enterpriseaddress" th:value="${enterpriseInformation.enterpriseaddress}" type="text" />
		                <!--<select id="cmbProvince" name="cmbProvince" disabled="disabled" class="info2" style="font-size: 20px;" ></select>
		                <select id="cmbCity" name="cmbCity" disabled="disabled" class="info2" style="font-size: 20px;"></select>
		                 <select id="cmbArea" name="cmbArea" disabled="disabled" class="info2" style="font-size: 20px;"></select> 
						<script type="text/javascript">  
							addressInit('cmbProvince', 'cmbCity', 'cmbArea');  
						</script> -->
			     </div>
			     <div class="info" style="margin-top: 20px;">
					<span style="color: red;">*</span>
					<span>企业营业地址：</span>
					<input disabled="disabled" class="info2"  name="businessaddress" th:value="${enterpriseInformation.businessaddress}" type="text"  />
				</div>
				 <div class="info" style="margin-left: 40px;margin-top: 20px;">
					<span style="color: red;">*</span>
					<span>企业电话：</span>
					<input disabled="disabled" class="info2"  name="enterprisetell" th:value="${enterpriseInformation.enterprisetell}" type="text" />
				</div> 
				<!--<div id="info" style="margin-left: -20px;margin-top: 20px;">
					<span style="color: red;">*</span>
					<span>业务联系人姓名：</span>
					<input  class="info2" type="text" id="info1" disabled="disabled" />
				</div>-->
				<div class="info" style="margin-left: -20px;margin-top: 20px;">
					<span style="color: red;">*</span>
					<span>业务联系人电话：</span>
					<input disabled="disabled" class="info2" name="managertell" th:value="${enterpriseInformation.managertell}" type="text" />
				</div>
		        <div class="item-verify-group" style="width: 300px;margin-left: 150px;margin-top: 20px;">
		        	<div >
					  <input class="btn-btn-info"   type="button" value="编辑"  onclick="formClick()"style="width: 150px;">
		              <input class="btn-btn-info"  type="submit" value="保存"  style="display: none;"/>
		        	</div>
	          	</div>
			</div>
		</form>
	</div>

</div>


<script type="text/javascript">
	function  formClick(){
		for(var i =0;  i  < document.getElementsByClassName("info2").length;i++){
			document.getElementsByClassName("info2")[i].removeAttribute("disabled");
		}
		document.getElementsByClassName("btn-btn-info")[1].style.display="block";
		document.getElementsByClassName("btn-btn-info")[0].style.display="none";
	}
	

	
	
</script>




<!---footer s--->
<footer>
	<div class="fmain w">
    	<div class="fm-top">
        	<div class="left">
            
            	<div class="ilist">
                	<h1>联系我们</h1>
                    <div class="t">客服电话</div>
                    <div class="tel">400-1234-123</div>
                    <div class="t">邮箱：quanminsat@163.com</div>
                </div>

				<div class="ilist">
					<h1>关于我们</h1>
					<a th:href="@{/information/jianjie}">公司简介</a>
					<a th:href="@{/information/gonggao}">最新公告</a>
					<a th:href="@{/information/join_us}">加入我们</a>
				</div>
            </div>
            <div class="right">
            	<div class="ewm" style="margin-left:20px;"><img th:src="@{/images/gzh.jpg}"><span>关注公众号</span></div>
            </div>
        </div>
          <div class="fm-bot" style="text-align: center;">
        	<span>&copy; 2018 &nbsp;全民科技有限公司 &nbsp;京ICP备：123456789号 </span>
        	<br />
            <dl>市场有风险 投资需谨慎</dl>
        </div>
    </div>
</footer>
<!---footer e--->


</body>
</html>
